export default {
  state: {
    orderList: [],
    // 暂存区订单数据
    keepOrder: []
  },
  mutations: {
    // 处理不用订单数据
    setOrder (state, data) {
      state.orderList = data
    },
    // 处理不同的订单类别
    setKeepOrder (state, data) {
      state.keepOrder = data
    }
  }
}